import { request } from "@/utils";

export const loginAPI = (formData)=>{
    return request({
        url: '/authorizations',
        method: 'POST',
        data: formData
    })
}

export const getUserInfoAPI = ()=>{
    return request({
        url: '/user/profile',
        method: 'GET'
    })
}
